package com.corejavaapi.printapi;

import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;

import javax.swing.JPanel;

//http://www.blogjava.net/bacoo/archive/2007/12/31/171792.html
public class PrintAPI extends JPanel implements Printable{
	
	public void doPrint(){
		
		
	}

	@Override
	public int print(Graphics g, PageFormat arg1, int page)
			throws PrinterException {
		return 0;
	}

	public static void main(String[] args) {
		
	}
}
